package cn.itcast.service.impl;

import cn.itcast.dao.cargo.ExportProductDao;
import cn.itcast.domain.cargo.ExportProduct;
import cn.itcast.domain.cargo.ExportProductExample;
import cn.itcast.service.ExportProductService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ExportProductServiceImpl implements ExportProductService {

    @Autowired
    private ExportProductDao exportProductDao;


    @Override
    public List<ExportProduct> findAll(ExportProductExample example) {

        return exportProductDao.selectByExample(example);
    }

    @Override
    public List<ExportProduct> findProductExampleId(ExportProductExample exportProductExample) {
        List<ExportProduct> list = exportProductDao.selectByExample(exportProductExample);
        return list;
    }

    @Override
    public ExportProduct findById(String id) {
        return null;
    }

    @Override
    public void save(ExportProduct exportProduct) {

    }

    @Override
    public void update(ExportProduct exportProduct) {

    }

    @Override
    public void delete(String id) {

    }



}
